package Typage;

import java.util.Iterator;
import java.util.Vector;

public class ExprList {
	private Vector<Expr> list;

	public ExprList() {
		this.list = new Vector<Expr>();
	}
	
	public int GetCount()
	{
		return this.list.size();
	}

	public void add(Expr x) {
		this.list.add(x);
	}

	public Iterator iterator() {
		return this.list.iterator();
	}
	
	public Expr ElementAt(int i )
	{
		return this.list.elementAt(i);
	}
}